<?php
namespace app\admin\controller;

//class类和控制器下的类文件名一致


use app\admin\BaseController;
use app\admin\model\Category;
use think\facade\View;

class Order extends BaseController{


    public function orderList()
    {

        $order = Category::select();
        View::assign('order',$order);
        return view();
    }
}